import request from '@/utils/request'
// 获取总后台商户提现列表
export function withdrawal(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/applicationList.html',
    method: 'post',
    data: query
  })
}
// 商户提现导出
export function cashExport(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/exportShu.html',
    method: 'post',
    data: query,
    responseType: 'blob'
  })
}
// 商户提现详情
export function withdrawalDetail(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/applicationDetail.html',
    method: 'post',
    data: query
  })
}
// 商户打款弹窗
export function money(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/getMmkAccount.html',
    method: 'post',
    data: query
  })
}
// 驳回
export function rejected(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/reject.html',
    method: 'post',
    data: query
  })
}
// 打款确认
export function cashSure(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/withdrawPay.html',
    method: 'post',
    data: query
  })
}
// 批量查询列表
export function cashAll(query) {
  return request({
    url: '/com.mmk.member.api.AdminLifeShopWithdrawProvider/1.0.0/batchSelect.html',
    method: 'post',
    data: query
  })
}
